package com.yixin.hospital.entity.vo;

import lombok.Data;
import lombok.ToString;

import java.util.ArrayList;
import java.util.List;

@Data
@ToString
public class DrugDepositoryAllDrugVo {

    private Long id;
    private String drugCode;
    private String drugName;
    private String drugCommonName;
    private String drugSpecs;
    private Integer status;
    private String outerUnit;
    private String innerUnit;
    private Integer sellMethod;
    private Integer minPurchaseNum;
    private Integer buyCycle;
//    @JsonFormat(pattern = "yyyy-MM-dd")
//    private Date productTime;
//    @JsonFormat(pattern = "yyyy-MM-dd")
//    private Date expiration;
    private List<DrugDepositoryVo> drugDepositoryVoList = new ArrayList<>();


    // 销量
    private Integer sellQuantity;
    // 库存
    private Integer sourceNum;
    private Integer inventory;
    private Integer subInventory;

    private Long depositoryId;
    private String depositoryName;

}
